package com.jiang.Mapper;

import com.jiang.Pojo.Person;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PersonMapper {
    Person getPersonbyId(int id);

    int addPerson(Person person);

    int deletePerson(int id);

    List<Person> getAllPerson();

    int updatePerson(Person person);
}
